function [out] = poliBase (x_s , order , poliBaseType)

out(1) = 1;                         % Base p1(x)=1
out(2) = x_s(1);                    % Base p2(x)=x
out(3) = x_s(2);                    % Base p3(x)=y

if (order ==2 )
    
    out (4) = x_s(1) * x_s(1);      % Base p4(x)=x²     
    out (5) = x_s(2) * x_s(2);      % Base p5(x)=y²
    out (6) = x_s(1) * x_s(2);      % Base p6(x)=xy

end

end


